<%@tag description="Landmarks Tag" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@attribute name="type" required="false" fragment="false"%>


<div id="generic_links">
	<ul id="jMenu">

		<li><a class="fNiv" href="./siteHome">Home</a></li>

		<c:if test="${type == 'guest'}">

			<li><a class="fNiv" href="./registration">Registration</a></li>

			<li><a class="fNiv" href="./message">Send a message</a></li>

		</c:if>

		<li><a href="./normalSearch">Look for Users</a></li>



		<c:if test="${(type == 'logged') || (type == 'admin')}">

			<li id="message"><a class="fNiv" href="./inboxMessage">Message
					<span id="msg_count"></span>
			</a></li>

			<li><a class="fNiv" href="./abilityRequest">Request an
					Ability</a></li>

			<li><a class="fNiv">Help</a>
				<ul>
					<li class="arrow"></li>

					<li><a href="./helpRequest">Send a Help Request</a></li>

					<li><a href="./seeHelpRequest">See Your Help Requests</a></li>
				</ul></li>

			<li><a class="fNiv">Friends</a>
				<ul>
					<li class="arrow"></li>

					<li><a href="./addFriends">Add Friends</a></li>

					<li><a href="./friends">Your Friends</a></li>
				</ul></li>

			<li><a class="fNiv">Feedbacks</a>
				<ul>
					<li class="arrow"></li>

					<li><a href="./seeFeedbacks">See your feedbacks</a></li>

					<li><a href="./leave-feedback">Leave a feedback</a></li>
				</ul></li>
		</c:if>

		<c:if test="${(type == 'logged') || (type == 'admin')}">
			<li><a class="fNiv" href="./LogoutController">Logout</a></li>
		</c:if>

	</ul>
</div>
